import "./polyfill";
import "normalize.css";
import "antd/dist/antd.css";
import "./assets/style/main.global.scss";
import "./assets/style/main.scss";
import React from "react";
import { render } from "react-dom";
import { Provider } from "mobx-react";
import * as stores from "./store";
import { LocaleProvider } from "antd";
import zh_CN from "antd/lib/locale-provider/zh_CN";
import moment from "moment";
import "moment/locale/zh-cn";

import Routes from "./routes";

moment.locale("zh-cn");

render(
    <Provider {...stores}>
        <LocaleProvider locale={zh_CN}>
            <Routes />
        </LocaleProvider>
    </Provider>,
    document.getElementById("root")
);
